package com.ss.android.account.http;

import com.bytedance.retrofit2.Call;
import com.bytedance.retrofit2.http.Field;
import com.bytedance.retrofit2.http.FieldMap;
import com.bytedance.retrofit2.http.FormUrlEncoded;
import com.bytedance.retrofit2.http.GET;
import com.bytedance.retrofit2.http.POST;
import com.ss.android.account.model.AccountResponseModel;
import com.ss.android.account.model.UserAuditModel;

import java.util.Map;

public interface IAccountApi {
    @GET(a = "/2/user/audit_info/")
    Call<AccountResponseModel<UserAuditModel>> getUserAuditInfo();

    @FormUrlEncoded
    @POST(a = "/user/profile/update_extra/")
    Call<AccountResponseModel<UserAuditModel>> saveExtraUserInfo(@FieldMap Map<String, String> arg1);

    @FormUrlEncoded
    @POST(a = "/2/user/update/v3/")
    Call<AccountResponseModel<UserAuditModel>> saveUserInfo(@Field(a = "name") String arg1, @Field(a = "description") String arg2, @Field(a = "avatar") String arg3);
}

